

<h2>All teams:</h2><br>
<?php foreach($teams as $t):?>
<?php $school_name = str_replace(" ", "", $t["school_name"]) ?>
<a href="<?php echo "/index.php/teams/display/" . $school_name?>" ><?php echo $t["school_name"]?></a><br>
<?php endforeach?>
<br><br>